package cn.zhaozhiqi.article.service;

import cn.zhaozhiqi.article.domain.Article;
import cn.zhaozhiqi.article.query.ArticleQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IArticleService {
    Article getByID(Long id);

    List<Article> getAll();

    void addData(Article article);

    void updateByID(Article article);

    void deleteByID(Long id);

    PageInfo<Article> articleLimit(ArticleQuery query);

    void batchdelete(List<Long> ids);

}
